package com.project.gossip.simulation;

import java.util.ArrayList;

import com.project.gossip.Gossip;
import com.project.gossip.User;

import android.os.AsyncTask;

public class SimulatorTask extends AsyncTask<Integer, Void, ArrayList<Gossip>> {

	@Override
	protected ArrayList<Gossip> doInBackground(Integer... params) {

		ArrayList<Gossip> gossip = GossipSimulator.getGossip(10);
		for (Gossip gos : gossip) {
			System.out.println(gos.getText());
		}
		return gossip;

	}

}
